package com.ketai.dao;

import com.ketai.pojo.Evaluation;
import com.ketai.vo.EvaluationVo;

import javax.naming.NamingException;
import java.sql.SQLException;
import java.util.List;

/**
 * @Author: 高伟华
 * @Description:
 * @Date:Create In 2022-08-11 1:39
 **/
public interface EvaluationDao {
List<EvaluationVo>getEvaluation() throws SQLException, NamingException;

int addEvaluation (Evaluation evaluation) throws SQLException, NamingException;

int deleteEvaluationById(String id) throws SQLException, NamingException;


EvaluationVo getEvaluationById(String id) throws SQLException, NamingException;

int checkEvaluation(String sql, Object [] params) throws SQLException, NamingException;


}
